﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace VISS.API.Commons {
    public interface IAttraction {

        /// <summary>
        /// Insert new AttractionEnt
        /// </summary>
        /// <param name="item">AttractionEnt</param>
        /// <returns>return true if success, otherwise return false</returns>
        bool Insert(AttractionEnt item);
        /// <summary>
        /// Update AttractionEnt
        /// </summary>
        /// <param name="item">AttractionEnt</param>
        /// <returns>return true if success, otherwise return false</returns>
        bool Update(AttractionEnt item);
        /// <summary>
        /// Delete a AttractionEnt
        /// </summary>
        /// <param name="iD">ID of AttractionEnt need to be deleted</param>
        /// <returns>return true if success, otherwise return false</returns>
        bool Delete(short iD);

        /// <summary>
        /// Get all AttractionEnt
        /// </summary>
        /// <returns>return a list of AttractionEnt (empty list if no AttractionEnt exists)</returns>
        List<AttractionEnt> GetAll();
    }
}
